<template>
  <van-swipe
    :autoplay="3000"
    indicator-color="white"
    class="my-swipe"
  >
    <van-swipe-item
      v-for="item in lunbolist"
      :key="item.id"
    >
      <img
        :src="item.img||item.src"
        alt=""
      />
    </van-swipe-item>
  </van-swipe>
</template>
<script>
export default {
  data: () => ({}),
  created () {},
  props: ['lunbolist'],
  methods: {}
}
</script>
<style lang="less" scoped>
.my-swipe {
  height: 200px;
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
}
</style>
